//
//  KKChatTextView.h
//  ReplyAssistant
//
//  Created by liaozhenming on 2018/11/21.
//  Copyright © 2018 KK. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^KKChatTextViewChangeContentHeightHandle)(CGFloat height);
typedef void(^KKChatTextViewDidEndEditTextHandle)(NSString *text);
typedef void(^KKChatTextViewDidBeginEditTextHandle)(void);

@interface KKChatTextView : UITextView<UITextViewDelegate>

@property (nonatomic, strong) KKChatTextViewChangeContentHeightHandle changeContentHeightHandle;
@property (nonatomic, strong) KKChatTextViewDidEndEditTextHandle didEndEditTextHandle;
@property (nonatomic, strong) KKChatTextViewDidBeginEditTextHandle didBeginEditTextHandle;


- (void)kk_cleanAllText;

@end

NS_ASSUME_NONNULL_END
